<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>毕业招聘系统</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: 'Microsoft YaHei', sans-serif;
            background-color: #f5f7fa;
            color: #333;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        .header {
            text-align: center;
            margin-bottom: 50px;
        }
        .header h1 {
            font-size: 32px;
            color: #333;
            margin-bottom: 10px;
        }
        .role-cards {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }
        .role-card {
            width: 300px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .role-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.12);
        }
        .role-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 36px;
            color: white;
        }
        .company-icon {
            background-color: #36D399;
        }
        .seeker-icon {
            background-color: #3A86FF;
        }
        .admin-icon {
            background-color: #FF9F1C;
        }
        .role-card h2 {
            font-size: 22px;
            margin-bottom: 15px;
            color: #333;
        }
        .role-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 25px;
        }
        .btn-group {
            display: flex;
            gap: 10px;
        }
        .role-btn {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .login-btn {
            background-color: #f0f2f5;
            color: #333;
        }
        .login-btn:hover {
            background-color: #e5e7eb;
        }
        .register-btn {
            background-color: var(--primary);
            color: white;
        }
        .register-btn:hover {
            background-color: var(--secondary);
        }
        .footer {
            text-align: center;
            margin-top: 60px;
            color: #999;
            font-size: 14px;
        }
        @media (max-width: 768px) {
            .role-cards {
                flex-direction: column;
                align-items: center;
            }
            .role-card {
                width: 80%;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>毕业招聘系统</h1>
            <p>请选择您的身份</p>
        </div>
        <div class="role-cards">
            <!-- 企业招聘者卡片 -->
            <div class="role-card">
                <div class="role-icon company-icon">
                    <i class="fas fa-building"></i>
                </div>
                <h2>企业招聘</h2>
                <p>发布招聘信息，筛选简历，联系求职者，管理招聘流程</p>
                <div class="btn-group">
                    <button class="role-btn login-btn" onclick="window.location.href='company-login.html'">登录</button>
                    <button class="role-btn register-btn" onclick="window.location.href='register.html?role=company'">注册</button>
                </div>
            </div>

            <!-- 应聘者卡片 -->
            <div class="role-card">
                <div class="role-icon seeker-icon">
                    <i class="fas fa-user-graduate"></i>
                </div>
                <h2>求职者</h2>
                <p>搜索职位，投递简历，查看反馈，管理求职状态</p>
                <div class="btn-group">
                    <button class="role-btn login-btn" onclick="window.location.href='job-seeker-login.html'">登录</button>
                    <button class="role-btn register-btn" onclick="window.location.href='register.html?role=seeker'">注册</button>
                </div>
            </div>

            <!-- 管理员卡片 -->
            <div class="role-card">
                <div class="role-icon admin-icon">
                    <i class="fas fa-user-shield"></i>
                </div>
                <h2>管理员</h2>
                <p>管理用户信息，维护系统管理，审核企业资质，处理投诉</p>
                <div class="btn-group">
                    <button class="role-btn login-btn" onclick="window.location.href='admin-login.html'">登录</button>
                    <button class="role-btn register-btn" onclick="window.location.href='register.html?role=admin'">注册</button>
                </div>
            </div>
        </div>
        <div class="footer">
            毕业招聘系统 © 2023 版权所有
        </div>
    </div>
</body>
</html>